

public class checkAgeArgs {

	public static void main(String[] args) {

		String[] userData = args;

		Integer age = Integer.parseInt(userData[2]);

		if (age >= 40) {
			System.out.println("Welcome " + userData[0] + " " + userData[1]
					+ " I am sorry you are old");
		}
		if (age < 40) {
			System.out.println("Welcome " + userData[0] + " "
					+ userData[1]  + " You are pretty young");

		}
	}
}
